package com.example.a02back.service;

import com.example.a02back.dto.returnMessage;
import com.example.a02back.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SimpChaos
 * @since 2022-07-02
 */
public interface IMessageService extends IService<Message> {

    String send(String token,String send,String receive,String content,String roomid);
    List<returnMessage> receive(String send, String receive,String roomid);

}
